﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.MedicalDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PatientDomain
{
   public class PatientRadiology
    {
        #region Properties
        public Guid ID { get; set; }
        public DateTime DateAndTime { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
       [ForeignKey("Admission")]
        public Guid AdmissionID { get; set; }
       [ForeignKey("Item")]
        public Guid RadiologyItemID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual Admission Admission { get; set; }
        public virtual RadiologyItem Item { get; set; }
        public virtual ICollection<PatientRadiologyPicture> Pictures { get; set; }
        public virtual ICollection<PatientRadiologyAttachments> Attachments { get; set; } 
        #endregion


    }
}
